package com.gome.axwl.aoc.web.controller.mq.consumer;


import com.cloudzone.cloudmq.api.open.base.Action;
import com.cloudzone.cloudmq.api.open.base.ConsumeContext;
import com.cloudzone.cloudmq.api.open.base.Msg;

/**
 * Created with IntelliJ IDEA.
 * User: wanglinyong
 * Date: 2016/7/18
 * Time: 11:46
 *
 * @Copyright(c) gome inc Gome Co.,LTD
 */
public interface Consumer<T> {
    Action consume(Msg msg, ConsumeContext context, Class<T> msgObjectClass);
}
